#/bin/bash

# glog
rm -rf glog
unzip glog-0.6.0.zip
mv glog-0.6.0 glog
cd glog || exit
mkdir build
cd build || exit
cmake ../ && make -j16
cd ../../

# googletest
rm -rf googletest
unzip googletest-release-1.11.0.zip
mv googletest-release-1.11.0 googletest
cd googletest || exit
mkdir build
cd build || exit
cmake ../ && make -j16
cd ../../

# emock
rm -rf emock
unzip emock-master.zip
mv emock-master emock
cd emock || exit
mkdir build
cd build || exit
cmake ../ && make -j16
cd ../../